package com.mike.demo.service.impl;

import com.mike.demo.po.User;
import com.mike.demo.service.DemoService;
import com.mike.mvcframework.annotations.MyService;

/**
 * @Description
 * @Date 2021/7/23 15:17
 * @Created by mike
 */
@MyService
public class DemoServiceImpl implements DemoService {

    @Override
    public User getUserByName(String name) {
        User user = new User();
        user.setUsername(name);
        return user;
    }
}
